import Layout from '@/layout'

const router = {
  path: '/guide',
  component: Layout,
  redirect: '/guide/system',
  meta: { title: '引导页', icon: 'guide', affix: true },
  children: [
    {
      path: 'system',
      component: () => import('@/views/guide/system/index'),
      name: 'Guide-sys',
      meta: { title: '系统引导页' }
    },
    {
      path: 'index',
      component: () => import('@/views/guide/index/index'),
      name: 'Guide-index',
      meta: { title: '方法引导页' }
    },
    {
      path: 'component',
      component: () => import('@/views/guide/component/index'),
      name: 'Guide-component',
      meta: { title: '组件引导页' }
    }
  ]
}

export default router

